package org.sec.entity;

import java.sql.Timestamp;
import java.util.Date;

public class SuccessKill {
	private long seckillId;
	private long userPhone;
	private int state;
	
	private Date createTime;
	
	//多对一
	private Seckill seckill;
	
	
	

	public long getSeckillId() {
		return seckillId;
	}

	public void setSeckillId(long seckillId) {
		this.seckillId = seckillId;
	}

	public long getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(long userPhone) {
		this.userPhone = userPhone;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Seckill getSeckill() {
		return seckill;
	}

	public void setSeckill(Seckill seckill) {
		this.seckill = seckill;
	}

	@Override
	public String toString() {
		return "SuccessKill [seckillId=" + seckillId + ", userPhone=" + userPhone + ", state=" + state + ", createTime="
				+ createTime + ", seckill=" + seckill + "]";
	}

	
	
	
	
	
	
	
	
	
	
	
	
}
